<?php
use think\facade\Route;
// 控制器Index注册路由 1803010111
Route::rule('/guzp','index/index');
Route::rule('/view','index/view');
Route::rule('/write','index/post');
Route::rule('/topic/:m_id','index/detail','GET');
Route::rule('/upic','index/me');
Route::rule('/upa','index/pa');
Route::rule('/writing','index/doPost');
Route::rule('/response','index/doRes');
Route::rule('/modipa','index/modiPa');
Route::rule('/collect','index/collect');
Route::rule('/uppic','index/upMe');
Route::rule('/logout','index/logout');
Route::get('/like/:m_id','index/likeCount');
// 控制器User注册路由 1803010111
Route::rule('/login','user/login');
Route::rule('/register','user/reg');
Route::rule('/about','user/contact');
Route::rule('/upass','user/doLogin');
Route::rule('/uadd','user/doReg');
Route::rule('/isthere', 'user/isThere');
// 错误跳转提示 1803010111
Route::miss('public/miss');